Kotlin utilities
/
it.czerwinski.kotlin.util
/
Option
/
Companion
common
Companion
object
Companion
Content copied to clipboard
Functions
Functions
empty
Link copied to clipboard
common
fun <
T
>
empty
():
Option
<
T
>
Content copied to clipboard
Returns
None
.
invoke
Link copied to clipboard
common
operator fun <
T
>
invoke
(value:
T
?):
Option
<
T
>
Content copied to clipboard
Returns
Some
if the
value
is not
null
or
None
if the
value
is
null
.